package app

import (
	"github.com/gin-gonic/gin"
	"wall/app/controller"
)

func RegisterRouters(app *gin.Engine) {
	user := controller.User{}
	app.POST("/login", user.LoginHandler)
	app.POST("/register", user.RegisterHandler)
	app.POST("/send_code", user.SecureCodeHandler)
	app.POST("/verify", user.VerifyCodeHandler)
}
